package com.shambles.manage2.tkmapper.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "usersinfo")
public class Usersinfo implements Serializable {
    /**
     * open_id
     */
    @Column(name = "open_id")
    private String openId;

    /**
     * 电话
     */
    @Column(name = "phone")
    private String phone;

    /**
     * 名字
     */
    @Column(name = "name")
    private String name;

    /**
     * 摊位地址
     */
    @Column(name = "address")
    private String address;

    /**
     * 修改时间
     */
    @Column(name = "up_time")
    private Date upTime;

    private static final long serialVersionUID = 1L;

    /**
     * 获取open_id
     *
     * @return open_id - open_id
     */
    public String getOpenId() {
        return openId;
    }

    /**
     * 设置open_id
     *
     * @param openId open_id
     */
    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    /**
     * 获取电话
     *
     * @return phone - 电话
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置电话
     *
     * @param phone 电话
     */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /**
     * 获取名字
     *
     * @return name - 名字
     */
    public String getName() {
        return name;
    }

    /**
     * 设置名字
     *
     * @param name 名字
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 获取摊位地址
     *
     * @return address - 摊位地址
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置摊位地址
     *
     * @param address 摊位地址
     */
    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    /**
     * 获取修改时间
     *
     * @return up_time - 修改时间
     */
    public Date getUpTime() {
        return upTime;
    }

    /**
     * 设置修改时间
     *
     * @param upTime 修改时间
     */
    public void setUpTime(Date upTime) {
        this.upTime = upTime;
    }
}